package com.kxmall.vehicle.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 餐车信息对象
 */

@Data
@ApiModel("餐车信息对象")
public class KxVehicleBo {

    @ApiModelProperty(value = "餐车信息主键ID")
    @NotNull(message = "餐车主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "餐车动力单元编号")
    private String vehicleNo;

    @ApiModelProperty(value = "餐车号/名称")
    private String vehicleName;

    @ApiModelProperty(value = "餐车柜子总数量")
    private Integer boxNum;

    @ApiModelProperty(value = "车辆地址编码")
    private String adcode;

    @ApiModelProperty(value = "省")
    private Long province;

    @ApiModelProperty(value = "市")
    private Long city;

    @ApiModelProperty(value = "区（县）")
    private Long county;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态 0.禁用 1.正常")
    private Integer state;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "餐车管理电话")
    private String phone;

    @ApiModelProperty(value = "餐车管理名称")
    private String leaderName;

}
